<template>
	<view class="account">
		<u-cell-group>
			<u-cell title="手机号" @click="handleClick(1)">
				<u-icon slot="right-icon" name="arrow-right"></u-icon>
			</u-cell>
			<u-cell title="登录密码" @click="handleClick(2)">
				<u-icon slot="right-icon" name="arrow-right"></u-icon>
			</u-cell>
			<u-cell title="支付密码" @click="handleClick(3)">
				<u-icon slot="right-icon" name="arrow-right"></u-icon>
			</u-cell>
		</u-cell-group>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			handleClick(index){
				if (index===2) {
					uni.navigateTo({
						url: '/pages/changeOldPassword/changeOldPassword'
					})
				} else if (index===3) {
					uni.navigateTo({
						url: '/pages/changePassword/changePassword'
					})
				}
			}
		}
	}
</script>

<style>
.account{
	height: calc(100vh - 88rpx);
	background-color: #F7F7F7;
	overflow: hidden;
}
.u-cell-group{
	margin-top: 20rpx;
	background-color: white;
}
</style>
